package com.lushu.chapitre1.dialogue.nodes.subCondition
{
	import com.lushu.chapitre1.dialogue.nodes.SubConditionNode;

	public class HasGrainesCondition extends SubConditionNode
	{
		private var usrID_ : int = 0;
		public var grainesID_ : int;
		public var grainesQte_ : int = 1;

		public function HasGrainesCondition()
		{
			type_ = "subCondition"
			subConditionType_ = "hasGraines";
		}
		
		public override function setInformation(value : XML) : void
		{
			grainesID_ = value.@grainesID;
			grainesQte_ = value.@grainesQte;
		}

	}
}